/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import (reference) '../../../styles/variables.less';

.total-data-assets-widget.ant-card {
  height: 100%;

  .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background-color: @grey-2;
  }

  .assets-list-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: @grey-50;
    border-radius: @border-rad-xs;
    height: 100%;
  }

  .tooltip-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px;
    z-index: 10;
    pointer-events: none;
    text-align: center;
  }

  .ant-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;

    &::before,
    &::after {
      display: none;
    }
  }
}
